<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title><sitemesh:write property='title' /></title>
    <link rel="stylesheet" href="/asset/layui/css/layui.css">
    <link rel="stylesheet" href="/asset/css/index.css?v=20180936">
    <link rel="Shortcut Icon" href="cachet.ico">
    <script type="text/javascript" src="/asset/js/jquery-3.3.1.min.js"></script>
	<script src="/asset/layui/layui.js"></script>
    <script src="/asset/js/common.js"></script>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo"><img src="/asset/images/logon.png" alt=""></div>

        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item new_nav-item">
                <a href="javascript:;" class="new_a">
                    <img src="${_portrait!'/asset/images/portrait.png'}" class="layui-nav-img">${_loginName}
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="/personal/info.htm">账户信息</a></dd>
                    <dd><a href="/personal/editPassword.htm">密码修改</a></dd>
                    <dd><a href="/logout.htm">退出登录</a></dd>
                </dl>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item <#if _actions=="index">layui-this</#if>"><a class="icon_index" href="/index.htm">首页</a></li>
                <li class="layui-nav-item icon_tow">我的</li>
                <li class="layui-nav-item text-center <#if _actions=='pending'>layui-this</#if>"><a href="/pending/list.htm">我的待办</a></li>
                <li class="layui-nav-item text-center <#if _actions=='apply'>layui-this</#if>"><a href="/apply/list.htm">我的申请</a></li>
                <li class="layui-nav-item text-center <#if _actions=='verify'>layui-this</#if>"><a href="/verify/list.htm">审核申请</a></li>
                
                <#if _USER_ROLE??>
                <#if  _USER_ROLE == 'CUSTOS' || _USER_ROLE=='ADMIN_CUSTOS' || _USER_ROLE='LEGAL_PERSON_CUSTOS'>
                <li class="layui-nav-item icon_four">管理</li>
                <li class="layui-nav-item text-center <#if _actions=='custos'>layui-this</#if>"><a href="/custos/list.htm">印章保管</a></li>
                </#if>
                </#if>
                
                <#if _USER_ROLE??>
                <#if _USER_ROLE == 'ADMIN' || _USER_ROLE=='ADMIN_CUSTOS' || _USER_ROLE='LEGAL_PERSON' || _USER_ROLE='LEGAL_PERSON_CUSTOS'>
                <li class="layui-nav-item icon_four">管理</li>
                <!--
                <li class="layui-nav-item text-center <#if _actions=='seal'>layui-this</#if>"><a href="/seal/list.htm">印章管理</a></li>
                -->
                <li class="layui-nav-item text-center <#if _actions=='devices'>layui-this</#if>"><a href="/devices/list.htm">设备管理</a></li>
                <li class="layui-nav-item text-center <#if _actions=='record'>layui-this</#if>"><a href="/record/applyList.htm">记录管理</a></li>
                <li class="layui-nav-item text-center <#if _actions=='staff'>layui-this</#if>"><a href="/staff/index.htm">员工管理</a></li>
                <!--
                <li class="layui-nav-item text-center <#if _actions=='workflow'>layui-this</#if>"><a href="/workflow/list.htm">流程管理</a></li>
                -->
                </#if>
                </#if>
                
                <li class="layui-nav-item icon_four">设置</li>
                 <#if _USER_ROLE??>
                 <#if _USER_ROLE == 'ADMIN' || _USER_ROLE=='ADMIN_CUSTOS' || _USER_ROLE='LEGAL_PERSON' || _USER_ROLE='LEGAL_PERSON_CUSTOS'>
                 <li class="layui-nav-item text-center <#if _actions=='company'>layui-this</#if>"><a href="/company/info.htm">企业信息</a></li>
                 </#if>
                 </#if>
                <li class="layui-nav-item text-center <#if _actions=='personal'>layui-this</#if>"><a href="/personal/info.htm">账户设置</a></li>
                 <#if _USER_ROLE??>
                 <#if _USER_ROLE='LEGAL_PERSON' || _USER_ROLE='LEGAL_PERSON_CUSTOS'>
                <li class="layui-nav-item text-center <#if _actions=='install'>layui-this</#if>"><a href="/install/list.htm">安装审核</a></li>
                </#if>
                 </#if>
            </ul>
        </div>
    </div>

    <sitemesh:write property='body' />
    
    <div class="layui-footer">
        Copyright©2017&nbsp; &nbsp;上海切点信息科技有限公司&nbsp; &nbsp;京ICP备11022687号-11&nbsp; &nbsp; &nbsp; &nbsp;系统版本号：v3.0
    </div>
</div>

</body>
</html>